#include "DoubleStrengthValueSpell.h"
#include "GetExtraStrengthCounterSpell.h"
#include "AddCraftToStrength.h"
#include "SpellFactory.h"
#include "ISpell.h"

ISpell * SpellFactory::spellFromString(std::string iName) 
{
	if(iName.compare("DoubleStrengthValueSpell") == 0)
		return new DoubleStrengthValueSpell;
	else if (iName.compare("GetExtraStrengthCounterSpell") == 0)
		return new GetExtraStrengthCounterSpell;
	else if (iName.compare("AddCraftToStrengthSpell") == 0)
		return new AddCratToStrengthSpell;
	else 
		return 0;

}